const crypto = require('crypto');

// 加密
module.exports = {
    hmc(password){
        const hash = crypto.createHmac('sha256', '1710A')
                        .update(password)
                        .digest('hex');
        return hash
     }
}